<?php


namespace api\zhengmaotong\model;


use think\Model;

class NavModel extends  Model
{
    protected $name="navigation";
    public function ejcd(){
        return $this->hasMany(NavModel::class,'p_id','id');
    }
}